package com.timesheet.serverice;

import java.util.List;

import com.timesheet.server.common.models.EffortTrackerDTO;
import com.timesheet.server.dao.UtilisationDao;

public class UtlisationService {	
	public List<EffortTrackerDTO> geUtilisation(String[] projId){
		return new UtilisationDao().getUtilisationBasedOnTheProjects(projId);
	}
	
	public List<EffortTrackerDTO> getUtilisationBasedOnTheProjects(String []projId){
		return new UtilisationDao().getUtilisationBasedOnTheProjects(projId);
	}
	
	public static void main(String[] args) {
		UtlisationService utlisationService = new UtlisationService();
		String[] projId={"ABSLIFE","ABSCFS"};
		List<EffortTrackerDTO> utilisationDto = utlisationService.getUtilisationBasedOnTheProjects(projId);
		System.out.println(utilisationDto);
	}
	
	
	

}
